package com.mrobuy.jdvc.entity;

import com.gavel.annotation.FieldMeta;
import com.gavel.annotation.TableMeta;

import java.util.Date;

import static com.gavel.database.SQLExecutor.createTable;

@TableMeta(name = "VC_PRODUCT_CREATE_TASK", title = "JD上架任务")
public class VCProductCreateTask {

    @FieldMeta(name = "ID", title = "ID", length = 32, primary = true)
    private String id;

    @FieldMeta(name = "TITLE", title = "任务名称", length = 50)
    private String title;

    @FieldMeta(name = "REMARK", title = "说明", length = 1024)
    private String remark;

    @FieldMeta(name = "STATE", title = "状态", length = 8)
    private String state;

    @FieldMeta(name = "CREATETIME", title = "创建时间")
    private Date createtime;



    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public static void main(String[] args) throws Exception {
        createTable(VCProductCreateTask.class);
    }

}
